<?php

namespace Modules\Common\Exceptions;

use Exception;
use Throwable;

class BusinessException extends Exception {
    public function __construct(array $codeResponse, $info = null) {
        [$code, $message] = $codeResponse;
        parent::__construct($info ?: $message, $code, null);
    }
}
